<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkMenuBar</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
<link rel="up" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="prev" href="GtkMenu.html" title="GtkMenu">
<link rel="next" href="GtkMenuItem.html" title="GtkMenuItem">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkMenu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="MenusAndCombos.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
<td><a accesskey="n" href="GtkMenuItem.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkMenuBar.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GtkMenuBar.description" class="shortcut">Description</a>
                   | 
                  <a href="#GtkMenuBar.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GtkMenuBar.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#GtkMenuBar.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#GtkMenuBar.style-properties" class="shortcut">Style Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GtkMenuBar"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkMenuBar.top_of_page"></a>GtkMenuBar</span></h2>
<p>GtkMenuBar — A subclass widget for GtkMenuShell which holds GtkMenuItem widgets</p>
</td>
<td valign="top" align="right"><img src="menubar.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GtkMenuBar.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

struct              <a class="link" href="GtkMenuBar.html#GtkMenuBar-struct" title="struct GtkMenuBar">GtkMenuBar</a>;
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkMenuBar.html#gtk-menu-bar-new" title="gtk_menu_bar_new ()">gtk_menu_bar_new</a>                    (<em class="parameter"><code><span class="type">void</span></code></em>);
#define             <a class="link" href="GtkMenuBar.html#gtk-menu-bar-append" title="gtk_menu_bar_append()">gtk_menu_bar_append</a>                 (menu,
                                                         child)
#define             <a class="link" href="GtkMenuBar.html#gtk-menu-bar-prepend" title="gtk_menu_bar_prepend()">gtk_menu_bar_prepend</a>                (menu,
                                                         child)
#define             <a class="link" href="GtkMenuBar.html#gtk-menu-bar-insert" title="gtk_menu_bar_insert()">gtk_menu_bar_insert</a>                 (menu,
                                                         child,
                                                         pos)
enum                <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection">GtkPackDirection</a>;
<span class="returnvalue">void</span>                <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-pack-direction" title="gtk_menu_bar_set_pack_direction ()">gtk_menu_bar_set_pack_direction</a>     (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> pack_dir</code></em>);
<a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a>    <a class="link" href="GtkMenuBar.html#gtk-menu-bar-get-pack-direction" title="gtk_menu_bar_get_pack_direction ()">gtk_menu_bar_get_pack_direction</a>     (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-child-pack-direction" title="gtk_menu_bar_set_child_pack_direction ()">gtk_menu_bar_set_child_pack_direction</a>
                                                        (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> child_pack_dir</code></em>);
<a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a>    <a class="link" href="GtkMenuBar.html#gtk-menu-bar-get-child-pack-direction" title="gtk_menu_bar_get_child_pack_direction ()">gtk_menu_bar_get_child_pack_direction</a>
                                                        (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GtkMenuBar.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
                           +----<a class="link" href="GtkMenuShell.html" title="GtkMenuShell">GtkMenuShell</a>
                                 +----GtkMenuBar
</pre>
</div>
<div class="refsect1">
<a name="GtkMenuBar.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkMenuBar implements
 AtkImplementorIface and  <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="GtkMenuBar.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkMenuBar.html#GtkMenuBar--child-pack-direction" title='The "child-pack-direction" property'>child-pack-direction</a>"     <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a>      : Read / Write
  "<a class="link" href="GtkMenuBar.html#GtkMenuBar--pack-direction" title='The "pack-direction" property'>pack-direction</a>"           <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a>      : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GtkMenuBar.style-properties"></a><h2>Style Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkMenuBar.html#GtkMenuBar--s-internal-padding" title='The "internal-padding" style property'>internal-padding</a>"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
  "<a class="link" href="GtkMenuBar.html#GtkMenuBar--s-shadow-type" title='The "shadow-type" style property'>shadow-type</a>"              <a class="link" href="gtk-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a>         : Read
</pre>
</div>
<div class="refsect1">
<a name="GtkMenuBar.description"></a><h2>Description</h2>
<p>
The <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> is a subclass of <a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> which contains one to many <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a>. The result is a standard menu bar which can hold many menu items. <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> allows for a shadow type to be set for aesthetic purposes. The shadow types are defined in the <span class="type">gtk_menu_bar_set_shadow_type</span> function.
</p>
</div>
<div class="refsect1">
<a name="GtkMenuBar.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkMenuBar-struct"></a><h3>struct GtkMenuBar</h3>
<pre class="programlisting">struct GtkMenuBar;</pre>
<p>
The <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> struct contains the following fields. (These fields should be considered read-only.  They should never be set by an application.)
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-menu-bar-new"></a><h3>gtk_menu_bar_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_menu_bar_new                    (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates the new <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-menu-bar-append"></a><h3>gtk_menu_bar_append()</h3>
<pre class="programlisting">#define gtk_menu_bar_append(menu,child)	    gtk_menu_shell_append  ((GtkMenuShell *)(menu),(child))
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_menu_bar_append</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkMenuShell.html#gtk-menu-shell-append" title="gtk_menu_shell_append ()"><code class="function">gtk_menu_shell_append()</code></a> instead.</p>
</div>
<p>
Adds a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to the end of the GtkMenuBar
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
<td>a <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-menu-bar-prepend"></a><h3>gtk_menu_bar_prepend()</h3>
<pre class="programlisting">#define gtk_menu_bar_prepend(menu,child)    gtk_menu_shell_prepend ((GtkMenuShell *)(menu),(child))
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_menu_bar_prepend</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkMenuShell.html#gtk-menu-shell-prepend" title="gtk_menu_shell_prepend ()"><code class="function">gtk_menu_shell_prepend()</code></a> instead.</p>
</div>
<p>
Adds a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to the beginning of the GtkMenuBar
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
<td>a <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-menu-bar-insert"></a><h3>gtk_menu_bar_insert()</h3>
<pre class="programlisting">#define gtk_menu_bar_insert(menu,child,pos) gtk_menu_shell_insert ((GtkMenuShell *)(menu),(child),(pos))
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gtk_menu_bar_insert</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkMenuShell.html#gtk-menu-shell-insert" title="gtk_menu_shell_insert ()"><code class="function">gtk_menu_shell_insert()</code></a> instead.</p>
</div>
<p>
Adds a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to the GtkMenuBar at the position defined by <em class="parameter"><code>position</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
<td>a <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
<td>the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>the position in the item list where the <em class="parameter"><code>child</code></em> is added.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GtkPackDirection"></a><h3>enum GtkPackDirection</h3>
<pre class="programlisting">typedef enum {
  GTK_PACK_DIRECTION_LTR,
  GTK_PACK_DIRECTION_RTL,
  GTK_PACK_DIRECTION_TTB,
  GTK_PACK_DIRECTION_BTT
} GtkPackDirection;
</pre>
<p>
Determines how widgets should be packed insided menubars and
menuitems contained in menubars.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-PACK-DIRECTION-LTR:CAPS"></a><span class="term"><code class="literal">GTK_PACK_DIRECTION_LTR</code></span></p></td>
<td>Widgets are packed left-to-right.
</td>
</tr>
<tr>
<td><p><a name="GTK-PACK-DIRECTION-RTL:CAPS"></a><span class="term"><code class="literal">GTK_PACK_DIRECTION_RTL</code></span></p></td>
<td>Widgets are packed right-to-left.
</td>
</tr>
<tr>
<td><p><a name="GTK-PACK-DIRECTION-TTB:CAPS"></a><span class="term"><code class="literal">GTK_PACK_DIRECTION_TTB</code></span></p></td>
<td>Widgets are packed top-to-bottom.
</td>
</tr>
<tr>
<td><p><a name="GTK-PACK-DIRECTION-BTT:CAPS"></a><span class="term"><code class="literal">GTK_PACK_DIRECTION_BTT</code></span></p></td>
<td>Widgets are packed bottom-to-top.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-menu-bar-set-pack-direction"></a><h3>gtk_menu_bar_set_pack_direction ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_menu_bar_set_pack_direction     (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> pack_dir</code></em>);</pre>
<p>
Sets how items should be packed inside a menubar.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menubar</code></em> :</span></p></td>
<td>a <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pack_dir</code></em> :</span></p></td>
<td>a new <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-menu-bar-get-pack-direction"></a><h3>gtk_menu_bar_get_pack_direction ()</h3>
<pre class="programlisting"><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a>    gtk_menu_bar_get_pack_direction     (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>);</pre>
<p>
Retrieves the current pack direction of the menubar. 
See <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-pack-direction" title="gtk_menu_bar_set_pack_direction ()"><code class="function">gtk_menu_bar_set_pack_direction()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menubar</code></em> :</span></p></td>
<td>a <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the pack direction</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-menu-bar-set-child-pack-direction"></a><h3>gtk_menu_bar_set_child_pack_direction ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_menu_bar_set_child_pack_direction
                                                        (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> child_pack_dir</code></em>);</pre>
<p>
Sets how widgets should be packed inside the children of a menubar.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menubar</code></em> :</span></p></td>
<td>a <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>child_pack_dir</code></em> :</span></p></td>
<td>a new <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-menu-bar-get-child-pack-direction"></a><h3>gtk_menu_bar_get_child_pack_direction ()</h3>
<pre class="programlisting"><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a>    gtk_menu_bar_get_child_pack_direction
                                                        (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>);</pre>
<p>
Retrieves the current child pack direction of the menubar.
See <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-child-pack-direction" title="gtk_menu_bar_set_child_pack_direction ()"><code class="function">gtk_menu_bar_set_child_pack_direction()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menubar</code></em> :</span></p></td>
<td>a <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the child pack direction</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
</div>
<div class="refsect1">
<a name="GtkMenuBar.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkMenuBar--child-pack-direction"></a><h3>The <code class="literal">"child-pack-direction"</code> property</h3>
<pre class="programlisting">  "child-pack-direction"     <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a>      : Read / Write</pre>
<p>
The child pack direction of the menubar. It determines how
the widgets contained in child menuitems are arranged.
</p>
<p>Default value: GTK_PACK_DIRECTION_LTR</p>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkMenuBar--pack-direction"></a><h3>The <code class="literal">"pack-direction"</code> property</h3>
<pre class="programlisting">  "pack-direction"           <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a>      : Read / Write</pre>
<p>
The pack direction of the menubar. It determines how
menuitems are arranged in the menubar.
</p>
<p>Default value: GTK_PACK_DIRECTION_LTR</p>
<p class="since">Since 2.8</p>
</div>
</div>
<div class="refsect1">
<a name="GtkMenuBar.style-property-details"></a><h2>Style Property Details</h2>
<div class="refsect2">
<a name="GtkMenuBar--s-internal-padding"></a><h3>The <code class="literal">"internal-padding"</code> style property</h3>
<pre class="programlisting">  "internal-padding"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
<p>Amount of border space between the menubar shadow and the menu items.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkMenuBar--s-shadow-type"></a><h3>The <code class="literal">"shadow-type"</code> style property</h3>
<pre class="programlisting">  "shadow-type"              <a class="link" href="gtk-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a>         : Read</pre>
<p>Style of bevel around the menubar.</p>
<p>Default value: GTK_SHADOW_OUT</p>
</div>
</div>
<div class="refsect1">
<a name="GtkMenuBar.see-also"></a><h2>See Also</h2>
<p>
<a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a>, <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>, <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a>
</p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>